
using System.Linq;
using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.SimpleTemp.Repositories.Internal;
using Microsoft.EntityFrameworkCore;

namespace Core.SimpleTemp.Repositories
{
    [AutoDi()]//注意这里 自动DI
    public class JG_STOPObserveMainRepository : BaseDBRepository<JG_STOPObserveMain>
    //统一继承BaseDBRepository并传入`Entity`泛型参数
    {
        public JG_STOPObserveMainRepository(CoreDBContext dbContext) : base(dbContext)
        {
        }

        //public override IQueryable<JG_STOPObserveMain> QueryBase()
        //{
        //    return base.QueryBase().Include(a => a.JG_STOPObserveDetail);
        //}
    }
}
